set_property PACKAGE_PIN W7 [get_ports {digi[7]}]
set_property PACKAGE_PIN W6 [get_ports {digi[6]}]
set_property PACKAGE_PIN U8 [get_ports {digi[5]}]
set_property PACKAGE_PIN V8 [get_ports {digi[4]}]
set_property PACKAGE_PIN U5 [get_ports {digi[3]}]
set_property PACKAGE_PIN V5 [get_ports {digi[2]}]
set_property PACKAGE_PIN U7 [get_ports {digi[1]}]
set_property PACKAGE_PIN V7 [get_ports {digi[0]}]
set_property PACKAGE_PIN W4 [get_ports {EN[3]}]
set_property PACKAGE_PIN V4 [get_ports {EN[2]}]
set_property PACKAGE_PIN U4 [get_ports {EN[1]}]
set_property PACKAGE_PIN U2 [get_ports {EN[0]}]
set_property PACKAGE_PIN A14 [get_ports {scan[3]}]
set_property PACKAGE_PIN A16 [get_ports {scan[2]}]
set_property PACKAGE_PIN B15 [get_ports {scan[1]}]
set_property PACKAGE_PIN B16 [get_ports {scan[0]}]
set_property PACKAGE_PIN A15 [get_ports {scan_res[3]}]
set_property PACKAGE_PIN A17 [get_ports {scan_res[2]}]
set_property PACKAGE_PIN C15 [get_ports {scan_res[1]}]
set_property PACKAGE_PIN C16 [get_ports {scan_res[0]}]
set_property PACKAGE_PIN W5 [get_ports clk100m]
set_property PACKAGE_PIN U19 [get_ports {state[2]}]
set_property PACKAGE_PIN E19 [get_ports {state[1]}]
set_property PACKAGE_PIN U16 [get_ports {state[0]}]

set_property IOSTANDARD LVCMOS33 [get_ports {digi[7]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[6]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[5]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[4]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan_res[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan_res[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan_res[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {scan_res[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {state[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {state[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {state[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports clk100m]